<script>
	import {
		setValue,
		getValue
	} from "@/public/storeage/index.js";
	export default {
		onLaunch: function() {
			console.log("App Launch");
		},
		onShow: function() {
			var id = getValue('id')
			if (id == '' || id == null || id == undefined) {
				uni.reLaunch({
					url: '/pages/Loginas/logon'
				})
			}
			

			console.log("App Show");
		},
		onHide: function() {
			console.log("App Hide");
		},
	};
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";

	view {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	text {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	input {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	page {
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		padding-bottom: 160upx;
	}
</style>
